package com.hkts.naturalgas.alarminformation.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.alarminformation.entity.NaturalgasAlarmin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yck
 * @since 2020-09-11
 */
public interface INaturalgasAlarminService extends IService<NaturalgasAlarmin> {

        /**
         *  分页查询
         * @param bootStrapTable
         * @param naturalgasAlarmin
         * @return
         */
        IPage<NaturalgasAlarmin> selectPage(Page<NaturalgasAlarmin> page, NaturalgasAlarmin naturalgasAlarmin);

        List<NaturalgasAlarmin> selectList(NaturalgasAlarmin naturalgasAlarmin);
        Page<Map<String,Object>> getJoinResult(Page page,String stationId,String grade,String id);

        List<Map<String, Object>> getExportData(String stationId,String grade,String id);
        }